<template>
  <div id="app">
    <router-view v-if="active"></router-view>
      <keep-alive>
          <navigate></navigate>
      </keep-alive>
  </div>
</template>

<script>
import navigate from './components/Home/Content/navigate'
export default {
  name: 'App',
  components: {
    navigate
  },
  provide () {
    return {
      reload: this.reload
    }
  },
  data () {
    return {
      active: true
    }
  },
  methods: {
    reload () {
      this.active = false
      this.$nextTick(function () {
        this.active = true
      })
    }
  }

}
</script>

<style lang="stylus" scoped>

</style>
